<div class="layuimini-main" xmlns:th="http://www.w3.org/1999/xhtml">
<style>
    .layuimini-form .layui-form-item label{ line-height: 40px; text-align: right; padding-right: 10px;}
    #dynamicImg span{ display:inline-block; float: left; width: 30%; height: 300px; margin: 1%;}
    #dynamicImg img, #dynamicImg video{ max-width: 100%; max-height: 300px;}
</style>
    <div class="layui-form layuimini-form">
        <input type="hidden" id="id" name="id" th:value="${id}">
        <div class="layui-form-item layui-row" id="dynamicImg">

        </div>
        <div class="layui-form-item layui-form-text layui-row">
            <label class="layui-col-sm2">发布人</label>
            <div class="layui-col-sm10">
                <input id="userName" placeholder="发布人" class="layui-input" disabled/>
            </div>
        </div>
        <div class="layui-form-item layui-form-text layui-row">
            <label class="layui-col-sm2">类型</label>
            <div class="layui-col-sm10">
                <input id="type" placeholder="类型" class="layui-input" disabled/>
            </div>
        </div>
        <div class="layui-form-item layui-form-text layui-row">
            <label class="layui-col-sm2 required">内容</label>
            <div class="layui-col-sm10">
                <textarea name="content" id="content" placeholder="内容" class="layui-textarea" lay-verify="required" lay-reqtext="内容不能为空"></textarea>
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <div>
                <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">保存</button>
                <button class="layui-btn layui-btn-primary" id="closeBtn">取消</button>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="/web/boDynamic/boDynamic_add.js"></script>